#pragma once
#include <windef.h>
#include <vector>
#include <GdiplusTypes.h>

struct FLOAT_RECT
{
	int			nID;
	int			en_float;
	RECT		flt;
};

enum EN_FLOAT
{
	FLOAT_LEFT = 1,
	FLOAT_TOP = 2,
	FLOAT_RIGHT = 4,
	FLOAT_BOTTOM = 8,
	FLOAT_AROUND = FLOAT_LEFT | FLOAT_TOP | FLOAT_RIGHT | FLOAT_BOTTOM,
};

class floater
{
public:
	floater( void );
	~floater(void);
	void set_hwnd( HWND hWnd );
	void push_back( int nID, int en_float );
	void resize();

private:
	HWND							m_hWnd;
	std::vector<FLOAT_RECT>			m_float_rects;
};

